package dataStructs.tree;

import lombok.Data;
import lombok.RequiredArgsConstructor;
import lombok.ToString;

/**
 * @author Jonny Long
 * @date 2021/3/7 12:54
 */
@Data
@ToString(of = {"no","name"})
public class Node {
    private int no;
    private String name;
    private Node left;
    private Node right;

    public Node(int no, String name) {
        this.no = no;
        this.name = name;
    }
}
